package com.tjc.happy8;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

/**
 * @Author: tjc
 * @description
 * @Date Created in 21:01 2021-09-23
 */
public class Test {
    public static void main(String[] args) throws ClassNotFoundException, SQLException {
        Class.forName("com.mysql.cj.jdbc.Driver");
        Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/happy8", "root", "111111");
        Statement stmt = conn.createStatement();
        int res = stmt.executeUpdate("insert into happy8 (id, winning_number, big_small, even_odd) values(1,1,1,1)");

    }
}
